"DESCRIPTION 1"="You can use this plug-in to change the proxy server to be used with Gku. To disable the proxy server, clear both fields."
"DESCRIPTION 2"="NOTE: Gku currently requires a proxy server. We suggest looking at http://freebooks.hypermart.net/proxy/proxies.htm for a list of free proxy servers you can use."
"DESCRIPTION 3"="Gku may be obtained at http://lockergnome.virtualave.net"
"AUTHOR"="Xteq Systems"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
"COMMENT 2"="Thanks to CptSiskoX for the settings and the idea."
"COMMENT 3"="Thanks also to Vex, the maker of Gku."
sFile=""
sSec="Connection"
sV1="ProxyServer"
sV2="ProxyServerPort"
Sub GetGKUFile
s=iniReadValue("WIN.INI","GKU","InstallDir")
sFile=s & "\gku.ini"
End Sub
Sub Plugin_Initialize
Call GetGkuFile
If FileExists(sFile) then
s=iniReadValue(sFile,sSec,sV1)
SetUiElement 1,s
s=iniReadValue(sFile,sSec,sV2)
SetUiElement 2,s
else
Call Disable()
End if
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
bOK=False
s=GetUIElement(2)
if len(S)>0 then
if IsNumeric(s)=false then
Call MsgError("Please enter a number into the field PORT!")